<script type="text/javascript">
	function func_sendMail(){
		$("#hidIsMailSent").val("1");
		return $("#contact").submit();
		//alert("test");
	}
</script>
<article id="content" class="cols-b"> <nav id="breadcrumbs">
<ol>
	<li><a href="/it_center/Pages/display">Trang chủ</a>
	</li>
	<li>Liên hệ</li>
</ol>
</nav>
<div class="map-a">
	<header class="vcard">
	<h2 class="fn org"><?php echo $center_info[0]["CenterInformation"]["m_cif_name"];?></h2>
	<p class="adr">
		<span class="street-address"><?php echo $center_info[0]["CenterInformation"]["m_cif_address"];?></span>
	</p>
	<ul>
		<li class="tel"><?php echo $center_info[0]["CenterInformation"]["m_cif_tel"]?></li>
		<li class="email"><?php echo $center_info[0]["CenterInformation"]["m_cif_email"]?>
		</li>
	</ul>
	</header>
	<figure>
	<?php echo $mapitem; ?>
	
	</figure>
</div>
<aside>
<form method="post" class="contactform"  name="homefrm1" id="contact" action="CenterInformations">
	<input type="hidden" id="txtTo" name="to" value="<?php echo $center_info[0]["CenterInformation"]["m_cif_email"];?>" />
	<input type="hidden" id="hidIsMailSent" name="isMailSent" value=""/>
	<fieldset>
		<legend>Hãy Gửi Thắc Mắc Của Bạn Cho Chúng Tôi</legend>
		<p>
			<label for="txtName">Tên</label> <input type="text" id="txtName"
				name="name" required>
		</p>
		<p>
			<label for="txtMail">Email</label> <input type="email" id="txtMail"
				name="email" required>
		</p>
		<p class="select-b">
			<label for="txtTitle">Tiêu đề</label> <input name="subject" type="txtTitle"
				id="cd" required>
		</p>
		<p>
			<label for="txtContent">Nội dung</label>
			<textarea id="txtContent" name="msg" required></textarea>
		</p>

		<p><button type="button" onclick="func_sendMail();">Submit</button></p>

	</fieldset>
</form>
<div id="alert">
	<div class="message">
		<?php If (isset($message)){
			echo $message;
		}?>
	</div>
</div>
</aside> </article>
